{extend name="layouts/main" /}
{block name="content"}
<div class="layui-tab layui-tab-brief" lay-filter="demoTitle">
	<div class="layui-body layui-tab-content site-demo site-demo-body" style="top: 0px;left: 0px;">
		<div class="layui-tab-item layui-show">
			<div class="layui-main">
				<div id="LAY_preview">
					<blockquote class="layui-elem-quote layui-text" style="margin-bottom: 5px;">
						<i class="fa fa-home"></i>
						<span class="layui-breadcrumb">
							<a><cite>系统主页</cite></a>
							<a><cite>{$meta_title}</cite></a>
							<a href="http://www.querylist.cc/docs/guide/v4" target="_blank">点击查看《QueryList 4.0 指导文档》</a>
						</span>
					</blockquote>
					<form class="layui-form layui-form-pane form-horizontal" action="{:url('')}" method="post">
						<div class="layui-form-item">
							<label class="layui-form-label">节点名称</label>
							<div class="layui-input-block">
								<input type="text" name="node_name" value="" placeholder="" autocomplete="off" class="layui-input">
								<span class="sysval"><em class="zerocopy">node_name</em></span>
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">所属模型</label>
							<div class="layui-input-block">
								<select name="model_id" lay-verify="required">
									<option value="" selected="selected"></option>
									{volist name="modelRes" id="model"}
                                   <option value="{$model.id}">{$model.title}</option>
                                   {/volist}
								</select>
								<span class="sysval"><em class="zerocopy">model_id</em></span>
							</div>
						</div>
						<div class="layui-form-item" pane="">
							<label class="layui-form-label">输出编码</label>
							<div class="layui-input-block">
								<input type="radio" name="output_encoding" value="UTF-8" title="UTF-8" checked="">
								<input type="radio" name="output_encoding" value="GB2312" title="GB2312">
								<span class="sysval"><em class="zerocopy">output_encoding</em></span>
							</div>
						</div>
						<div class="layui-form-item" pane="">
							<label class="layui-form-label">输入编码</label>
							<div class="layui-input-block">
								<input type="radio" name="input_encoding" value="UTF-8" title="UTF-8" checked="">
								<input type="radio" name="input_encoding" value="GB2312" title="GB2312">
								<span class="sysval"><em class="zerocopy">input_encoding</em></span>
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">列表URL</label>
							<div class="layui-input-block">
								<textarea name="list_url" placeholder="" style="cursor: pointer;" title="例如：http://www.58pic.com/tupian/28906338-0-0-(*).html或http://www.williamlong.info/cat/?page=(*)/" class="layui-textarea"></textarea>
								<span class="layui-form-mid layui-word-aux">
									[ 动态页码使用(*)代替，例如：http://www.58pic.com/tupian/28906338-0-0-(*).html或http://www.williamlong.info/cat/?page=(*)/ ]
								</span>
								<span class="sysval"><em class="zerocopy">list_url</em></span>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-inline">
								<label class="layui-form-label">页码配置</label>
								<div class="layui-form-mid">从</div>
								<div class="layui-input-inline" style="width: 180px;">
									<input type="text" name="start_page" placeholder="起始页码" autocomplete="off" class="layui-input" value="1">
									<span class="sysval"><em class="zerocopy">start_page</em></span>
								</div>
								<div class="layui-form-mid">到</div>
								<div class="layui-input-inline" style="width: 180px;">
									<input type="text" name="end_page" placeholder="结束页码" autocomplete="off" class="layui-input" value="1">
									<span class="sysval"><em class="zerocopy">end_page</em></span>
								</div>
								<div class="layui-form-mid">每次递增</div>
								<div class="layui-input-inline" style="width: 150px;">
									<input type="text" name="step" placeholder="步长" autocomplete="off" class="layui-input" value="1">
									<span class="sysval"><em class="zerocopy">step</em></span>
								</div>
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">采集范围(区域选择器)</label>
							<div class="layui-input-block">
								<textarea name="range" placeholder="" class="layui-textarea"></textarea>
								<span class="layui-form-mid layui-word-aux">
									[ 采集范围(区域选择器)，例如：.post>ul>li ]
								</span>
								<span class="sysval"><em class="zerocopy">range</em></span>
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">URL采集规则</label>
							<div class="layui-input-block">
								<textarea name="url" placeholder="" class="layui-textarea"></textarea>
								<span class="layui-form-mid layui-word-aux">
									[ URL采集规则，例如：li>div.listimg>a ]
								</span>
								<span class="sysval"><em class="zerocopy">url</em></span>
							</div>
						</div>
						<div class="layui-form-item layui-form-text">
							<label class="layui-form-label">缩略图采集规则</label>
							<div class="layui-input-block">
								<textarea name="litpic" placeholder="" class="layui-textarea"></textarea>
								<span class="layui-form-mid layui-word-aux">
									[ 缩略图采集规则，例如：li>div.listimg>a>img ]
								</span>
								<span class="sysval"><em class="zerocopy">litpic</em></span>
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">缩略图字段名</label>
							<div class="layui-input-block">
								<input type="text" name="thumb_field" value="thumb" required="" lay-verify="required" placeholder="缩略图字段名" autocomplete="off" class="layui-input">
								<span class="layui-form-mid layui-word-aux">
									[ 所选模型的缩略图字段名 ]
								</span>
								<span class="sysval"><em class="zerocopy">thumb_field</em></span>
							</div>
						</div>
						<div class="layui-form-item" pane="">
							<label class="layui-form-label">下载图片</label>
							<div class="layui-input-block">
								<input type="radio" name="down_attachment" value="1" title="是" checked="">
								<input type="radio" name="down_attachment" value="0" title="否">
								<span class="sysval"><em class="zerocopy">down_attachment</em></span>
							</div>
						</div>
						<div class="layui-form-item" pane="">
							<label class="layui-form-label">图片水印</label>
							<div class="layui-input-block">
								<input type="radio" name="watermark" value="1" title="是" checked="">
								<input type="radio" name="watermark" value="0" title="否">
								<span class="sysval"><em class="zerocopy">watermark</em></span>
							</div>
						</div>
						<div class="layui-form-item" pane="">
							<label class="layui-form-label">状态</label>
							<div class="layui-input-block">
								<input type="radio" name="status" value="1" title="显示" checked="">
								<input type="radio" name="status" value="0" title="隐藏">
								<span class="sysval"><em class="zerocopy">status</em></span>
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label">排序</label>
							<div class="layui-input-block">
								<input type="text" name="sort" value="0" required="" lay-verify="required" placeholder="排序" autocomplete="off" class="layui-input">
								<span class="sysval"><em class="zerocopy">sort</em></span>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-input-block">
								<button class="layui-btn ajax-post" type="submit" target-form="form-horizontal" lay-submit="" lay-filter="formDemo">保存信息并进入下一步设置</button>
								<button type="reset" class="layui-btn layui-btn-danger">重置</button>
								<!-- <a class="layui-btn layui-btn-primary" href="javascript:;" onclick="history.go(-1);">返回</a> -->
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
{/block}
{block name="footer"}
{/block}
{block name="js"}
{/block}
